package com.jic.market.request.rest.coupon;

import com.jic.market.request.rest.base.RestBaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("领取优惠券")
public class CouponsReceiveRequest extends RestBaseRequest implements Serializable {
  @NotNull(message = "用户登录token")
  @ApiModelProperty(value = "用户登录token", required = true)
  private String token;

  @ApiModelProperty(notes = "主键ID")
  private long id;

  @ApiModelProperty(notes = " 第三方id 子平台")
  private Long businessId;

  @ApiModelProperty(notes = "券Code")
  private String couponCode;

  @ApiModelProperty(notes = "优惠券id")
  private String promotionId;

  @ApiModelProperty(notes = "第三方用户id")
  private String thirdUserId;

  @ApiModelProperty(notes = "活动type 优惠券11红包12")
  private String promType;

  @ApiModelProperty(notes = "订单编号")
  private String orderNo;

  @ApiModelProperty(notes = "使用渠道")
  private String channelCodes;

  @ApiModelProperty(notes = "生券日期")
  private Date createCouponTime;

  @ApiModelProperty(notes = "有效开始时间")
  private Date startTime;

  @ApiModelProperty(notes = "有效结束时间")
  private Date endTime;

  @ApiModelProperty(notes = "绑定使用的手机号")
  private String useMobile;

  @ApiModelProperty(notes = "用户id")
  private Long memberId;

  @ApiModelProperty(notes = "平台Id")
  private String deptId;

  @ApiModelProperty(notes = "商家Id")
  private String roleMerchantId;

  @ApiModelProperty(notes = "店铺Id")
  private String roleStoreId;
}
